package com.pds.web.monitor.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TaskDTO {

    private String status;

    private String taskName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date taskStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date taskEndDate;
    /**区域*/
    private String areaCode;
    /**公司、检测机构id*/
    private Long deptId;
    /**公司类型：0环保局、1检测机构、2企业*/
    private Integer type;
    private Long userId;
    /**环保局查询：企业或检测机构id*/
    private Long organizationId;
    private Long companyId;
}
